package com.learnyou.server.xingzuo.dto.resultDTO.wechat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/11/15 12:56
 */
@Data
public class WechatAttendanceStuResultDTO {

    @ApiModelProperty(value = "考勤ID")
    private Integer id;

    @ApiModelProperty(value = "考勤学生ID")
    private Integer studentId;

    @ApiModelProperty(value = "考勤学生姓名")
    private String studentName;

    @ApiModelProperty(value = "考勤的课程课次ID")
    private Integer courseScheduleId;

    @ApiModelProperty(value = "学生的课程课次ID")
    private Integer studentScheduleId;

    @ApiModelProperty(value = "针对哪次上课的考勤")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date studentScheduleAt;

    @ApiModelProperty(value = "考勤状态")
    private String attendanceStatus;

    @ApiModelProperty(value = "考勤的数量（负数表示增加）")
    private Integer attendanceCount;

    @ApiModelProperty(value = "本次考勤说明")
    private String attendanceRemark;
}
